package day12;

public class Remote {
    private double weight;
    private String color;
    private int range;
   public Remote(){}
    public Remote(double weight, String color, int range) {
        this.weight = weight;
        this.color = color;
        this.range = range;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getRange() {
        return range;
    }

    public void setRange(int range) {
        this.range = range;
    }
    public void turnon(){
        System.out.println("开机！");
    }
    public void turnoff(){
        System.out.println("关机");
    }
    public void changechannel(){
        System.out.println("换台");
    }
}
